package com.example.magnet.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Vec3DTO {
    public float x;
    public float y;
    public float z;
    /**
     * 状态
     */
    private List<Vec3StatusDTO> status;

    public Vec3DTO(float x, float y) {
        this.x = x;
        this.y = y;
        this.z = 0;
        this.status = new ArrayList<>();
    }

    public Vec3DTO(float x, float y, float z) {
        this.x = x;
        this.y = y;
        this.z = z;
    }
}
